package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.UserLike;
import com.tanhua.model.vo.PageResult;

import java.util.List;

public interface UserLikeApi {
    Boolean saveOrUpdate(Long userId, Long likeUserId, boolean b);

    Integer myLike(Long userId);

    Integer likeMe(Long userId);

    Integer likeTOlike(Long userId);

    List findLiketolike(Integer type, Integer page, Integer pagesize, String nickname, Long userId);

    List<UserLike> findMylike(Integer type, Integer page, Integer pagesize, Long userId);

    List<UserLike> findlikeme(Integer type, Integer page, Integer pagesize, Long userId);

    void delectLike(Long likeuid, Long userId);
}
